package com.example.yupao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
// 加上 mybatis-plus 的注解, 扫描 Mapper 文件夹
@MapperScan("com.example.yupao.mapper") // 把 mybatis-plus 注入到项目中
@EnableScheduling // 加上支持定时任务的注解
public class YuPaoApplication {

    public static void main(String[] args) {
        SpringApplication.run(YuPaoApplication.class, args);
    }

}
